package com.freightoa.sgl

import com.freightoa.foundation.result.Router
import dagger.Binds
import dagger.Module
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent

// :common 模块的 CommonModule.kt
@Module
@InstallIn(SingletonComponent::class)
abstract class CommonModule {
    @Binds
    abstract fun bindRouter(router: GlobalRouter): Router
}